const url='https://m.douban.com/rexxar/api/v2/search?q='
Page({
onLoad(option){
  this.setData({
    ...option
  })
  wx.showLoading({
    title: '正在查询',
  })
  wx.request({
    url: url+this.data.title,
    success:res=>{
      wx.hideLoading({
        success: (res) => {},
      })
      this.setData({
        result:res.data
      })
    }
  })
}

})